#pragma once

#include "SGNode.h"
#include "IPrimitive.h"
#include "Parameter.h"

//Node representing a primitive in the scenegraph
class SGNodePrimitive: public SGNode
{
private:
	//pointer to the primitive object
	IPrimitive*		m_primitive;

public:
	//Parameter for the world matrix of the primitive
	//Parameter<CMatrix>	m_world;

public:
	//constructor
	SGNodePrimitive(IPrimitive* primitive);

	//destructor
	//~SGNodePrimitive();

	//update
	void doUpdate();

	//dirty
	//void dirty();
};